package com.victor.entity.activity_tuikuan;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 退款设置表
 * 
 * @author zhangbin
 *
 */
@Entity
@Table(name = "tuikuan_setup")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TuikuanSetup {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) // 主键类型--自动递增生成
	@Column(name = "ts_id", unique = true, nullable = false, length = 11)
	private Integer ts_id;// 主键id
	
	@Column(name = "table_name", length = 50)
	private String table_name;// 表区分 -- 表名
	
	@Column(name = "table_id", length = 50)
	private String table_id;// 对应表id
	
	@Column(name = "proportion_sst", length = 50)
	private String proportion_sst;// 随时退退款比例 --- if_tuikuan为2时---允许退款状态为2时 此字段有值  其余为null
	
	@Column(name = "proportion_before12", length = 50)
	private String proportion_before12;// 条件退退款比例12点前 --- if_tuikuan为3时---允许退款状态为3时 此字段有值  其余为null
	
	@Column(name = "proportion_after12", length = 50)
	private String proportion_after12;// 条件退退款比例12点后 --- if_tuikuan为3时---允许退款状态为3时 此字段有值  其余为null

}